﻿using System;
using UnityEngine;

public class InfoGameOfBody : MonoBehaviour {
	// === Unity ======================================================================================================
	public UILabel Label;

	private void Awake() {
		if (Label == null) {
			throw new ArgumentException("Label is null");
		}
	}

	private void Update() {
		Label.text = "bodies: " + GameData.GetInstance.Bodies.Count;
	}
}
